package com.example.experiment1.FactoryPattern.pen;

public class RedPenCore extends PenCore{
    public RedPenCore() {
        super("红色");
    }

    public void writeWord(String s){
        System.out.println("用["+color+"笔芯]写出{"+color+"}的字:" + s);
    }
}
